package city.spring.modules.ext.service.impl;

import city.spring.modules.ext.entity.FoodDiseaseExt;
import city.spring.modules.ext.repository.FoodDiseaseExtRepository;
import city.spring.modules.ext.service.FoodDiseaseExtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodDiseaseExtServiceImpl extends ServiceImpl<FoodDiseaseExtRepository, FoodDiseaseExt> implements FoodDiseaseExtService {

    @Override
    public List<FoodDiseaseExt> getFoodDiseaseExt(String foodInfoId) {
        return baseMapper.getFoodDiseaseExtByFoodInfoId(foodInfoId);
    }

}
